# docker rmi -f sanjusss/aria2-ariang-docker:latest
docker pull sanjusss/aria2-ariang-docker:latest
rm -rf /cardone/docker/images/sanjusss/aria2-ariang-docker_latest.tar
mkdir -p /cardone/docker/images/sanjusss
docker save sanjusss/aria2-ariang-docker:latest >/cardone/docker/images/sanjusss/aria2-ariang-docker_latest.tar
# docker load < /cardone/docker/images/sanjusss/aria2-ariang-docker_latest.tar

mkdir -p /cardone/datas/aria2-ariang/data
mkdir -p /cardone/datas/aria2-ariang/conf

docker node update --label-add cardone-aria2-ariang_aria2-ariang=true cardone-01-01

docker stack rm cardone-aria2-ariang

docker stack deploy -c /cardone/middlewares/aria2-ariang/prod.yml cardone-aria2-ariang

docker stack ps cardone-aria2-ariang

docker service logs cardone-aria2-ariang_aria2-ariang -f --tail 300
